package com.yl.pattern.behavioralmodel.state.before;

/**
 * @Author 小羊
 * @Date 1/11/2024下午 2:23
 * @ClassName Client
 * @Description Client
 */
public class Client {
    public static void main(String[] args) {
        Lift lift = new Lift();

        lift.setState(ILift.OPENING_STATE);

        lift.open();
        lift.close();
        lift.run();
        lift.stop();
    }
}
